/*! * CleanPrint * http://www.formatdynamics.com * Copyright Format Dynamics, Inc. All rights reserved, * CleanPrint and Format Dynamics are registered trademarks * US Patent 7386791 */ var FDLoader={vers:3,tmax:0,threshold:"50000",mediaRoot:null,cssFiles:new Array(),commLoaderUrl:null,commEndpntUrl:null,actionUrl:null,helpUrl:null,articleUrl:window.location.href,productName:"CleanPrint/Save",load:function(){var h,a,k,d,j,f,c,e,b,g;this.browserDetect.init();h=document.getElementsByTagName("head")[0];a=document.getElementsByTagName("body")[0];k=document.getElementById("fd-devices");for(d=0;d0){if(navigator.plugins["Shockwave Flash 2.0"]||navigator.plugins["Shockwave Flash"]){h=navigator.plugins["Shockwave Flash 2.0"]?" 2.0":"";c=navigator.plugins["Shockwave Flash"+h].description.split(" ");a=c[2].split(".");d=a[0]>5?a[0]:-1}}if(!d){try{b=new ActiveXObject("ShockwaveFlash.ShockwaveFlash.7");d=b.GetVariable("$version")}catch(g){}}if(!d){try{b=new ActiveXObject("ShockwaveFlash.ShockwaveFlash.6");d="6"}catch(g){}}if(d){f=d.match(/[\d]+/g);f.length=1;d=f.join(".")}return d&&d>0},hasXdomain:function(){try{new XDomainRequest().open("POST",FDLoader.actionUrl);return true}catch(a){}return false},hasCors:function(){try{var a=new XMLHttpRequest();if("withCredentials" in a){a.open("POST",FDLoader.actionUrl);return true}}catch(b){}return false},browserDetect:{init:function(){this.browser=this.searchString(this.dataBrowser)||"Unknown browser";this.version=this.searchVersion(navigator.userAgent)||this.searchVersion(navigator.appVersion)||"Unknown version";this.OS=this.searchString(this.dataOS)||"Unknown OS"},searchString:function(d){var a,b,c;for(a=0;a=this.threshold){var g,c,h,f;c=(new Date).getTime();h=String(c++);g="action=logging";g+="&level="+i;g+="&vers="+this.vers;g+="&url="+encodeURIComponent(this.articleUrl);g+="&cacheKill="+h;if(typeof b!="undefined"&&b!=null){g+="&msg="+encodeURIComponent(b)}if(typeof a!="undefined"&&a!=null){f=null;for(f in a){g+="&"+encodeURIComponent(f)+"="+encodeURIComponent(a[f])}}new Image().src=this.actionUrl+"?"+g}if(b.indexOf("FD_IGNORE")!=-1){b=b.substr(10)}if(i>=40000){console.error(b)}else{if(i>=30000){console.warn(b)}else{if(i>=20000){console.info(b)}else{if(i>=10000){console.log(b)}}}}}catch(d){}},onReady:function(d){var a,c,f=false;function b(){if(f){return}f=true;d()}if(document.getElementById("pluck-resource-bm")!=null||document.getElementById("FDCPFBookmarklet")!=null){b()}else{if(document.getElementById("fd-resource-bm")!=null){b()}}if(document.addEventListener){document.addEventListener("DOMContentLoaded",b,false)}else{if(document.attachEvent){a=false;try{a=window.frameElement!=null}catch(g){}if(document.documentElement.doScroll&&!a){function h(){if(f){return}try{document.documentElement.doScroll("left");b()}catch(i){setTimeout(h,10)}}h()}}}if(window.addEventListener){window.addEventListener("load",b,false)}else{if(window.attachEvent){window.attachEvent("onload",b)}else{c=window.onload;window.onload=function(){c&&c();b()}}}setTimeout(b,8000)}};FDLoader.tmax = 60000; FDLoader.mediaRoot = 'http://cache-02.cleanprint.net/media/'; FDLoader.actionUrl = 'http://cpf.cleanprint.net/cpf/cpf'; FDLoader.commEndpntUrl = 'http://cpf.cleanprint.net/cpf/cpf'; FDLoader.commLoaderUrl = 'http://cache-02.cleanprint.net/cpf/cpjs'; FDLoader.helpUrl = 'http://cache-02.cleanprint.net/cpf/help'; FDLoader.cssFiles = new Array(['viewbox','http://cache-02.cleanprint.net/media/pfviewer/css/viewbox.css','screen'],['phone','http://cache-02.cleanprint.net/media/pfviewer/css/phone.css','only screen and (max-device-width:480px), only screen and (max-device-height:480px)']); FDLoader.pubKey = 'star_advertiser'; FDLoader.logo = null; FDLoader.name = null; FDLoader.category = null; FDLoader.buttons = null; FDLoader.hint = null; FDLoader.page = null; FDLoader.sid = 'xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx'.replace(/[xy]/g,function(c){var r = Math.random()*16|0,v=c=='x'?r:r&0x3|0x8;return v.toString(16);});; FDLoader.reporting = true; FDLoader.analytics = true; FDLoader.dynamic = true; FDLoader.articleId = null; FDLoader.isPfLink = false; FDLoader.onReady(function(){ FDLoader.load(); });